package cn.yrec.rain.analysis.exception;

import lombok.Data;

/**
 * 请求参数的异常处理类
 */
@Data
public class RequestParamException extends RuntimeException {

    private ErrorResult err;

    public RequestParamException(ErrorResult err) {
        super(err.getMsg());
        this.err = err;
    }
}
